package com.junzhiit.nengji.shop.bo;

import java.util.Date;

import org.springframework.format.annotation.DateTimeFormat;

import com.bainaeco.framework.base.BaseObject;
import com.bainaeco.framework.util.DateUtil;
import com.bainaeco.framework.util.serializer.CustomDateSerializerHMS;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;

public class UserCouponsInfoBO extends BaseObject {
	
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	
	private String Id;

	private String userId;
	
	private String orderId;
	
	private String couponsId;
	
	@DateTimeFormat(pattern = DateUtil.DATETIME_PATTERN_DEFAULT)
	@JsonSerialize(using = CustomDateSerializerHMS.class)
	private Date startTime;
	
	@DateTimeFormat(pattern = DateUtil.DATETIME_PATTERN_DEFAULT)
	@JsonSerialize(using = CustomDateSerializerHMS.class)
	private Date endTime;
	
	private Integer status;
	
	private String shopId;
	
	private String shopName;
	
	private String couponsName;

	private Integer couponsType;
	
	private Double price;
	
	private Double discount;
	
	private Integer threshold;
	
	private Double fullPriceReduction;

	private Integer validTimeState;
	
	private Integer validDays;
	
	private String introduce;
	
	private Integer platform;

	private Double  consumePrice;
	
	private String qrCode;
	
	private Integer isOpenRandom;
	
	private Integer isChain;
	
	private String chainId;

	public String getId() {
		return Id;
	}

	public void setId(String id) {
		Id = id;
	}

	public String getUserId() {
		return userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

	public String getOrderId() {
		return orderId;
	}

	public void setOrderId(String orderId) {
		this.orderId = orderId;
	}

	public String getCouponsId() {
		return couponsId;
	}

	public void setCouponsId(String couponsId) {
		this.couponsId = couponsId;
	}

	public Date getStartTime() {
		return startTime;
	}

	public void setStartTime(Date startTime) {
		this.startTime = startTime;
	}

	public Date getEndTime() {
		return endTime;
	}

	public void setEndTime(Date endTime) {
		this.endTime = endTime;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public String getShopId() {
		return shopId;
	}

	public void setShopId(String shopId) {
		this.shopId = shopId;
	}

	public String getShopName() {
		return shopName;
	}

	public void setShopName(String shopName) {
		this.shopName = shopName;
	}

	public String getCouponsName() {
		return couponsName;
	}

	public void setCouponsName(String couponsName) {
		this.couponsName = couponsName;
	}

	public Integer getCouponsType() {
		return couponsType;
	}

	public void setCouponsType(Integer couponsType) {
		this.couponsType = couponsType;
	}

	public Double getPrice() {
		return price;
	}

	public void setPrice(Double price) {
		this.price = price;
	}

	public Double getDiscount() {
		return discount;
	}

	public void setDiscount(Double discount) {
		this.discount = discount;
	}

	public Integer getThreshold() {
		return threshold;
	}

	public void setThreshold(Integer threshold) {
		this.threshold = threshold;
	}

	public Double getFullPriceReduction() {
		return fullPriceReduction;
	}

	public void setFullPriceReduction(Double fullPriceReduction) {
		this.fullPriceReduction = fullPriceReduction;
	}

	public Integer getValidTimeState() {
		return validTimeState;
	}

	public void setValidTimeState(Integer validTimeState) {
		this.validTimeState = validTimeState;
	}

	public Integer getValidDays() {
		return validDays;
	}

	public void setValidDays(Integer validDays) {
		this.validDays = validDays;
	}

	public String getIntroduce() {
		return introduce;
	}

	public void setIntroduce(String introduce) {
		this.introduce = introduce;
	}

	public Integer getPlatform() {
		return platform;
	}

	public void setPlatform(Integer platform) {
		this.platform = platform;
	}

	public Double getConsumePrice() {
		return consumePrice;
	}

	public void setConsumePrice(Double consumePrice) {
		this.consumePrice = consumePrice;
	}

	public String getQrCode() {
		return qrCode;
	}

	public void setQrCode(String qrCode) {
		this.qrCode = qrCode;
	}

	public Integer getIsOpenRandom() {
		return isOpenRandom;
	}

	public void setIsOpenRandom(Integer isOpenRandom) {
		this.isOpenRandom = isOpenRandom;
	}

	public Integer getIsChain() {
		return isChain;
	}

	public void setIsChain(Integer isChain) {
		this.isChain = isChain;
	}

	public String getChainId() {
		return chainId;
	}

	public void setChainId(String chainId) {
		this.chainId = chainId;
	}
}
